package com.crm.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@ApiModel(value = "ContractDto", description = "合同数据传输对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ContractType {

    @ApiModelProperty(value = "分页页码", example = "1", required = true)
    private Integer pageNum;

    @ApiModelProperty(value = "分页每页数量", example = "10", required = true)
    private Integer pageSize;
  
    @ApiModelProperty(value = "合同编号", example = "C0000001", required = true)  
    private String contractNo;  
  
    @ApiModelProperty(value = "合同文件名称", example = "contract_file_name.pdf", required = true)  
    private String fileName;  
  
    @ApiModelProperty(value = "姓名", example = "张三", required = true)  
    private String name;  
  
    @ApiModelProperty(value = "手机号", example = "13800138000")  
    private String phone;  
  
    @ApiModelProperty(value = "购买学科", example = "数学", required = true)  
    private String subject;  
  
    @ApiModelProperty(value = "购买课程", example = "高中数学", required = true)  
    private String channel;

    @ApiModelProperty(value = "更新时间", example = "2021-01-01 00:00:00")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建时间", example = "2021-01-01 00:00:00")
    private LocalDateTime createTime;
}